package scct.hys.model;

//放映场次表
public class Screening {
    int id;

    String movieid;
    String startTime;//放映时间
    String price;//票价
    String type;//影片类型

    public Screening(int id, String movieid, String startTime, String price, String type) {
        this.id = id;
        this.movieid = movieid;
        this.startTime = startTime;
        this.price = price;
        this.type = type;
    }

    public Screening() {
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMovieid() {
        return movieid;
    }

    public void setMovieid(String movieid) {
        this.movieid = movieid;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Screening{" +
                "id=" + id +
                ", movieid='" + movieid + '\'' +
                ", startTime='" + startTime + '\'' +
                ", price=" + price +
                ", type='" + type + '\'' +
                '}';
    }
}
